﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Office.InfoPath;

namespace InfoPathDebugger.FormOpenProvider
{
    /// <summary>
    /// Interface of open providers.
    /// </summary>
    public interface IFormOpenProvider
    {
        /// <summary>
        /// Open an InfoPath form template.
        /// </summary>
        /// <param name="formControl">The form control to hold the InfoPath form template.</param>
        /// <param name="filePath">Path of an InfoPath form template or form data file.</param>
        void Open(FormControl formControl, String filePath);
    }
}
